package model

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ StockInDetailModel = (*customStockInDetailModel)(nil)

type (
	// StockInDetailModel is an interface to be customized, add more methods here,
	// and implement the added methods in customStockInDetailModel.
	StockInDetailModel interface {
		stockInDetailModel
	}

	customStockInDetailModel struct {
		*defaultStockInDetailModel
	}
)

// NewStockInDetailModel returns a model for the database table.
func NewStockInDetailModel(conn sqlx.SqlConn, c cache.CacheConf) StockInDetailModel {
	return &customStockInDetailModel{
		defaultStockInDetailModel: newStockInDetailModel(conn, c),
	}
}
